package com.example.zaq.dao;

//20210520 zaq  引入

import com.example.zaq.model.AspGroup;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface AspGroupDao {
    int deleteByPrimaryKey(Integer gId);

    /**
     * 修改分组名称
     * @param record
     * @return
     */
    AspGroup update(AspGroup record);

    /**
     * 删除分组
     * @param record
     * @return
     */
    AspGroup delete(AspGroup record);

    /**
     * 新增分组
     * @param record
     * @return
     */
    AspGroup insert(AspGroup record);

    List<AspGroup> selectAll(AspGroup record);

    int insertSelective(AspGroup record);

    AspGroup selectByPrimaryKey(Integer gId);


    int updateByPrimaryKeySelective(AspGroup record);

    int updateByPrimaryKey(AspGroup record);
}